<?php


namespace app\api\model;


class BannerItem extends BaseModel
{
    protected $table = 'banner_item';
    protected $hidden = ['delete_time'];

    public function img()
    {
        return $this->belongsTo('Image', 'img_id', 'id');
    }
}